$OpenBSD: patch-graphics_window_cpp,v 1.1 2017/04/18 14:53:15 espie Exp $
--- graphics/window.cpp.orig	Tue Apr 18 16:42:28 2017
+++ graphics/window.cpp	Tue Apr 18 16:42:45 2017
@@ -398,7 +398,7 @@ void window_t::center_token_fxp(int _x, int _y, const 
 		 */
 		if(token)
 		{
-			char *tok = strchr(txt, token);
+			const char *tok = strchr(txt, token);
 			if(tok)
 				tokpos = tok-txt;
 			else
